Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rdfjs__namespace

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdfjs__namespace

TypeScript definitions for @rdfjs/namespace

  • 1.1.5
  • ts3.6
  • ts3.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.2K
increased by9.39%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/rdfjs__namespace

Summary

This package contains type definitions for @rdfjs/namespace (https://github.com/rdfjs-base/namespace).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__namespace.

index.d.ts

// Type definitions for @rdfjs/namespace 1.1
// Project: https://github.com/rdfjs-base/namespace
// Definitions by: Chris Wilkinson <https://github.com/thewilkybarkid>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { DataFactory, NamedNode } from 'rdf-js';

// tslint:disable-next-line: no-unnecessary-generics
declare function namespace<TermNames extends string = string>(baseIRI: string, options?: namespace.BuilderOptions): namespace.NamespaceBuilder<TermNames>;

declare namespace namespace {
    type NamespaceBuilder<TermNames extends string = any> = Record<TermNames, NamedNode> & {
        (property?: TemplateStringsArray | TermNames): NamedNode;
    };

    interface BuilderOptions {
        factory?: DataFactory | undefined;
    }
}

export = namespace;

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:20:20 GMT
  • Dependencies: @types/rdf-js
  • Global values: none

Credits

These definitions were written by Chris Wilkinson.

FAQs

Package last updated on 08 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc